package com.ruoyi.team.service.impl;

import com.ruoyi.team.domain.Particulars;
import com.ruoyi.team.mapper.ParticularsMapper;
import com.ruoyi.team.service.IParticularsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ParticularsServiceImpl implements IParticularsService {
    @Autowired
    private ParticularsMapper particularsMapper;

    @Override
    public List<Particulars> listAll(Long goodId) {
        List<Particulars> particulars = particularsMapper.selectPartByGoodId(goodId);
        return particulars;
    }
}
